﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint.WebControls;
using System.Web.UI.WebControls;

namespace achappey.SharePoint.Livestamp
{

    public partial class LivestampFieldControl : BaseFieldControl
    {
        #region Properties

        private LivestampField ParentField;
        
        #endregion

        #region Constructors
        
        public LivestampFieldControl(LivestampField parentField)
        { 
            this.ParentField = parentField; 
        }
        
        #endregion

        protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);

            this.Visible = false;
            this.Parent.Parent.Visible = false;
        }
    }
}
